package com.fucking.great.context.config.plun;

import com.fucking.great.context.config.TxnConfiger;
import com.fucking.great.context.plun.PlugFactory;
import com.fucking.great.context.util.SingleUtil;
import org.junit.Test;

import java.util.Collection;

public class AllPlun {
    @Test
    public void testAllPlugFactory() {
        TxnConfiger bean = SingleUtil.getBean(TxnConfiger.class);
        Collection<PlugFactory> allPlugFactory = bean.getAllPlugFactory();
        allPlugFactory.forEach(x -> System.out.println(x) );
    }
}
